projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c1217d
)
filterlistmodel tests: Plug a leak
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 16 Jul 2020 12:48:56 +0000
(08:48 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 16 Jul 2020 12:54:36 +0000
(08:54 -0400)
g_list_model_get_item is transfer full.
testsuite/gtk/filterlistmodel-exhaustive.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/filterlistmodel-exhaustive.c
b/testsuite/gtk/filterlistmodel-exhaustive.c
index 00be63ba085243b66ce0c20efdbfc9d054ebbda9..ec1cbecc32c5975078632ac2287929c4e99ef43a 100644
(file)
--- a/
testsuite/gtk/filterlistmodel-exhaustive.c
+++ b/
testsuite/gtk/filterlistmodel-exhaustive.c
@@
-38,6
+38,8
@@
g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, _s); \
g_free (_s); \
} \
+ g_object_unref (o1); \
+ g_object_unref (o2); \
} \
}G_STMT_END